package server;

public class Server {

	public static final String VERSION = "1.0";
	
	public static void main(String[] args) {
		int port = 0;
		if(args != null && args.length > 0) {
			port = getInt(args[0]);
		}
		
		Connection.create(port);
	}
	
	private static int getInt(String s) {
		try{
			return Integer.parseInt(s);
		} catch(Exception e) {
			
		}
		
		return 0;
	}
}
